/*eslint-disable*/
import Goods from 'components/goods/goods';
import Ratings from 'components/Ratings/Ratings';
import Seller from 'components/Seller/Seller';

export default {
  routes: [
    { // 商品
      name: 'goods',
      path: '/goods',
      component: Goods,
      meta: {
        title: '商品'

      }
    },
    { // 评论
      name: 'ratings',
      path: '/ratings',
      component: Ratings,
      meta: {
        title: '商品'

      }
    },
    { // 商店
      name: 'seller',
      path: '/seller',
      component: Seller,
      meta: {
        title: '商品'

      }
    },
    {
      path: '/',
      redirect: '/goods'
    }
  ],
  mode: 'history',
  linkActiveClass: 'active' // 当前路由高亮类名
}
